.PHONY:all
all:servercal clientcal

servercal:ServerCal.cc
	g++ $^ -o $@ -pthread -std=c++11 -ljsoncpp   #-DMyself=1
clientcal:ClientCal.cc
	g++ $^ -o $@ -std=c++11 -ljsoncpp #-DMyself=1// gcc/g++时有D表示添加一个对应的宏
.PHONY:clean
clean:
	rm servercal clientcal -rf